package com.rran.study.chat.user.service;


import com.rran.study.chat.common.model.Response;
import com.rran.study.chat.user.dto.request.LoginWithPwdDTO;
import com.rran.study.chat.user.dto.request.LoginWithSmsDTO;
import com.rran.study.chat.user.dto.request.QueryUserInfoDTO;
import com.rran.study.chat.user.dto.request.UserInfoDTO;
import com.rran.study.chat.user.dto.response.LoginVO;
import com.rran.study.chat.user.dto.response.UserInfoVO;

/**
 * @author yy
 * @Type UserService.java
 * @Desc
 * @date 2020/8/11 11:48
 */
public interface UserService {

    Response<LoginVO> loginWithSms(LoginWithSmsDTO loginWithSmsDTO);

    Response<LoginVO> loginWithPwd(LoginWithPwdDTO loginWithPwdDTO);

    Response<UserInfoVO> getUserInfo(QueryUserInfoDTO queryUserInfoDTO);

    Response updateUserInfo(UserInfoDTO userInfoDTO);
}
